package main

import (
	"alan-snippet/internal/dao"
	"alan-snippet/internal/routers"
)

func init() {
	dao.InitMysql()
	dao.InitRedis()
}

func main() {
	r := routers.SetupRouter()

	r.Run(":8080")
}
